import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [ 
  {
    path: '/',
    name: 'jcyj',
    component: () => import('../views/jcyj/Jcyj')
  },
  {
    path: '/fxgk',
    name: 'fxgk',
    component: () => import('../views/fxgk/Fxgk')
  },
  {
    path: '/yjzy',
    name: 'yjzy',
    component: () => import('../views/yjzy/Yjzy')
  }
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
